home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip_2001-12_cd1.bin / zkuste / tuning / download / xteq / setup.exe / {app} / plugins / XQ Explorer Options.xpl < prev    next >
Text File  |  2001-02-06  |  2KB  |  73 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="3"
  4. "UIPATH"="Appearance\Explorer\Settings"
  5. "NAME"="Explorer Options"
  6. "VERSION"="1.50"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Show "File" menu"
  9. "TEXT 2"="Enable fast update"
  10. "TEXT 3"="Wrap long icon-titles"
  11. "DESCRIPTION 1"="Option 1: To hide the "File" menu inside the Windows Explorer, deactivate this option."
  12. "DESCRIPTION 2"="Option 2: Enables your open Windows Explorer windows and the desktop screen to refresh more quickly when activated."
  13. "DESCRIPTION 3"="Option 3: Splits long icon names into several small lines rather than one long line which may be displayed truncated"
  14. "AUTHOR"="Xteq Systems"
  15. "CONTACTURL"="http://www.xteq.com"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"=" "
  18. "COMMENT 2"="Option DesktopProcess disabled due to problems..."
  19. "COMMENT 3"="ClassicShell option from Alexander Khoroshev [aelric@atnet.ru]"
  20.  
  21.  
  22. sP1="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\"
  23. sV1="NoFileMenu"
  24. sV2="HKLM\System\CurrentControlSet\Control\Update\UpdateMode" 'BINARY!
  25. sV3="HKCU\Control Panel\Desktop\WindowMetrics\IconTitleWrap"
  26.  
  27.  
  28. Sub Plugin_Initialize 
  29.  i=RegReadValue(sp1&sv1)
  30.  If IsEmpty(i) or i=0 then SetUIElement 1,true
  31.  
  32.  b=RegReadValue(sV2)
  33.  if b="00" then SetUIElement 2,true
  34.  
  35.  b=RegReadValue(sV3)
  36.  if b=1 then SetUIElement 3,true 
  37. End Sub
  38.  
  39. Sub Plugin_CheckData(ElementIndex)
  40. End Sub
  41.  
  42. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  43.  b=GetUIElement(1)
  44.  if b=true then
  45.     s=RegReadValue(sp1&sV1)
  46.     if IsEmpty(s)=false then
  47.        Call RegDeleteValue(sp1&sv1)
  48.     end if
  49.  else
  50.     Call RegWriteValue(sp1&sv1,1,2)
  51.  end if
  52.  
  53.  b=GetUIElement(2)
  54.  if b=true then
  55.     Call RegWriteValue(sV2,"00",3)
  56.  else
  57.     Call RegWriteValue(sV2,"01",3)
  58.  end if
  59.  
  60.  b=GetUIElement(3)
  61.  if b=true then
  62.     Call RegWriteValue(sV3,1,2)
  63.  else
  64.     Call RegWriteValue(sV3,0,2)
  65.  end if
  66.  
  67.  
  68.  Call IndicateSettingChange()
  69. End Sub
  70.  
  71. Sub Plugin_Terminate 
  72. End Sub
  73.